package decorativePattern;

public class HongQiGong extends Decorator {

    public HongQiGong(SwordsMan mSwordsMan) {
        super(mSwordsMan);
    }

    public void teachMagic(){
        System.out.println("Teach 打狗棒法");
    }

    @Override
    public void attackMagic() {
        teachMagic();
        super.attackMagic();
    }
}
